home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form BallFrm
- BackColor = &H00C0C0C0&
- Caption = "Balloon Form"
- ClientHeight = 4020
- ClientLeft = 1095
- ClientTop = 1485
- ClientWidth = 7365
- Height = 4425
- Left = 1035
- LinkTopic = "Form1"
- ScaleHeight = 268
- ScaleMode = 3 'Pixel
- ScaleWidth = 491
- Top = 1140
- Width = 7485
- Begin Timer Timer1
- Interval = 5000
- Left = 6930
- Top = 0
- End
- Begin TextBox test
- Height = 390
- Left = 1530
- TabIndex = 1
- Text = "Balloon Help"
- Top = 3285
- Width = 3945
- End
- Begin PictureBox Picture1
- AutoSize = -1 'True
- BorderStyle = 0 'None
- Height = 330
- Left = 3285
- Picture = BALFRM.FRX:0000
- ScaleHeight = 330
- ScaleWidth = 360
- TabIndex = 0
- Top = 1125
- Width = 360
- End
- Begin Label Label1
- BackColor = &H00C0C0C0&
- Caption = "Balloon Help Text"
- Height = 240
- Left = 2565
- TabIndex = 2
- Top = 3015
- Width = 1905
- End
- Dim WindowHandle As Integer, HintHandle As Integer
- Dim MyStringSize As Size
- Dim Dummy As Integer
- Dim RecArea As Rect
- Dim HintBitMap As Integer
- Dim RecWidth As Integer, RecHeight As Integer
- Sub Form_MouseMove (Button As Integer, Shift As Integer, X As Single, Y As Single)
- Call RemBalloon(BallFrm)
- End Sub
- Sub Picture1_MouseMove (Button As Integer, Shift As Integer, X As Single, Y As Single)
- Dim HintString As String
- HintString = Trim(Test.Text)
- Call PutBalloon(HintString, BallFrm)
- End Sub
- Sub Timer1_Timer ()
- Call CheckBalloon(BallFrm)
- End Sub
-